package com.xdjmall.dao;

import java.sql.SQLException;

import com.xdjmall.entity.User;
import com.xdjmall.util.QueryCondition;

public interface UserDao extends BaseDao<User>{
    //根据用户名查询
    User selectByLoginName(String loginName) throws SQLException;
    //分页查询条数
    Integer selectTotalUsers(QueryCondition condition) throws SQLException;
    //根据ID和状态批量锁定用户
    Integer lockUserBatch(Integer[] ids,Boolean status) throws SQLException;
}
